<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>isdir</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : 2001</div>
    <p>
      <b>isdir</b> -  checks if argument is a directory path</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>r=isdir(path)  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>path</b>
        </tt>: a character string, the file pathname</li>
      <li>
        <tt>
          <b>r</b>
        </tt>: a boolean, true if <tt>
          <b>path</b>
        </tt> is a path to a directory.</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
      <tt>
        <b>r=isdir(path)</b>
      </tt> checks if <tt>
        <b>path</b>
      </tt> is a path to a directory.</p>
    <h3>
      <font color="blue">Reference</font>
    </h3>
    <dl>
      <p>
    This function is based on the C function stat. The <tt>
          <b>SCI</b>
        </tt> and <tt>
          <b>~</b>
        </tt> shortcuts for Scilab directory and home directory are handled.</p>
    </dl>
    <h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>

isdir(TMPDIR)
isdir SCI/scilab.star
 
  </pre>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="fileinfo.htm">
        <tt>
          <b>fileinfo</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
    <h3>
      <font color="blue">Author</font>
    </h3>
    <p>S. Steer INRIA</p>
  </body>
</html>
